package com.jm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jm.domain.entity.Menu;
import com.jm.domain.vo.MenuTreeVo;

import java.util.List;


/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2023-06-24 21:02:44
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermsByUserId(Long id);

    List<Menu> selectAllRoutersMenu();

    List<Menu> selectRouterMenuTreeByUserId(Long userId);


    List<MenuTreeVo> selectALLMenuTreeVo();

    List<MenuTreeVo> selectMenuTreeVoByUserId(Long userId);


}

